<?php
abstract class resource_config_abstract implements resource_config_interface {
	/**
	 * 路径算法 $code -> 32位 md5
	 * e639eecbd8c2a1b43a8c5fe73fae0c5d
	 */	
	public static function md5Path($code) {
		$a = substr($code, 1, 1);
		$b = substr($code, -2, 2);
		$c = substr($code, 8, 16);
		return "/$a/$b/$c";
	}	
	
}